//
//  BCOrderHistoryStuffCollectionViewCell.m
//  BangcaiBuy
//
//  Created by Liang Zhang on 16/7/4.
//  Copyright © 2016年 BCB. All rights reserved.
//

#import "BCOrderHistoryStuffCollectionViewCell.h"

@implementation BCOrderHistoryStuffCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _stuffLevelButton.layer.cornerRadius = 3.f;
    _appealButton.layer.cornerRadius = 3.f;
    _appealButton.layer.borderWidth = 1.f;
    _appealButton.layer.borderColor = [UIColor colorWithRed:0.953 green:0.557 blue:0.192 alpha:1.000].CGColor;
}

+ (instancetype)cellWithCollectionView:(UICollectionView *)collectionView {
    static NSString *ID = @"HistoryStuffCollectionViewCell";
    UINib *nib = [UINib nibWithNibName:@"BCOrderHistoryStuffCollectionViewCell" bundle: [NSBundle mainBundle]];
    [collectionView registerNib:nib forCellWithReuseIdentifier:ID];
    BCOrderHistoryStuffCollectionViewCell *cell = [[BCOrderHistoryStuffCollectionViewCell alloc] init];
    return cell;
}

- (IBAction)AppealAction:(id)sender {
    _appeal();
}

@end
